package com.jz.pay.aop;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

//@Aspect
//@Component
public class ResetAop {

    @Pointcut("execution(* com.jz.pay.controller.PaymentController.query())")
    public void cut(){

    }
    @Around("cut()")
    public Object around(ProceedingJoinPoint proceedingJoinPoint){
        proceedingJoinPoint.getTarget();
        proceedingJoinPoint.getArgs();
        return null;
    }
}
